Automattic\WooCommerce\GoogleListingsAndAds\API\Site\Controllers\BaseController S

Total Complexity 17
Dependencies 4
Dependents 1
Total lines 177
Lines of code 71
Logical lines of code 33
Comment lines 79
Methods 13
Properties 1

Methods 13

Method Rating Maintainability Complexity Lines of code
prepare_item_for_database()
S
62 3 11
prepare_item_for_response()
S
57 2 16
get_route_name()
S
67 2 7
prepare_item_schema()
S
63 1 11
__construct()
S
76 1 4
register()
S
82 1 3
register_route()
S
79 1 3
get_namespace()
S
79 1 3
get_permission_callback()
S
76 1 5
get_item_schema()
S
79 1 3
get_api_response_schema_callback()
S
76 1 5
get_schema_properties()
S
100 1 0
get_schema_title()
S
100 1 0